﻿@using Less.Tools
@using LessBoard.Models
@model StatusModel
<header>
    <h3>Statistics</h3>
</header>
<div class="module_content">
    <article class="stats_graph">
        <img src="http://chart.apis.google.com/chart?chxr=0,0,3000&chxt=y&chs=960x180&cht=lc&chco=76A4FB,80C65A&chd=s:Tdjpsvyvttmiihgmnrst,OTbdcfhhggcTUTTUadfk&chls=2|2&chma=40,20,20,30"
            width="960" height="180" alt="" />
    </article>
    <article class="stats_overview" >
        <div class="overview_today">
            <p class="overview_day">Today</p>
            <p class="overview_count">@Functions.GetMb(Model.ApplicationStatus.MemorySize)</p>
            <p class="overview_type">Memory</p>
            <p class="overview_count">@Functions.GetKb(Model.ApplicationStatus.SqlSize)</p>
            <p class="overview_type">Sql</p>
        </div>
        <div class="overview_previous">
            <p class="overview_day">Yesterday</p>
            <p class="overview_count">@Functions.GetMb(Model.YesterdayApplicationStatus.MemorySize)</p>
            <p class="overview_type">Memory</p>
            <p class="overview_count">@Functions.GetKb(Model.YesterdayApplicationStatus.SqlSize)</p>
            <p class="overview_type">Sql</p>
        </div>
    </article>
    <div class="clear">
    </div>
</div>
